var fecthP = import('node-fetch');

async function test() {
    const {default: fecth} = await fecthP;
    const response = await fecth('http://127.0.0.1:80', {
        headers: {
            host: 'api.deeplove.site'
        }
    });
    const data = await response.text();
    console.log(data);
}
test()